<%@ page language="java" pageEncoding="UTF-8"%><!DOCTYPE html>
<html>
<head>
<title>订单管理</title>
<jsp:include page="/admin/head.jsp"></jsp:include>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
</head>
<body>
	<jsp:include page="/admin/header.jsp"></jsp:include>
	<jsp:include page="/admin/left-menu.jsp?leftMenu=3"></jsp:include>
	<jsp:include page="/admin/footer.jsp"></jsp:include>

	<!--中间-->
	<section>
		<nav aria-label="breadcrumb">
			<ol class="breadcrumb">
				<li class="breadcrumb-item">管理首页</li>
				<li class="breadcrumb-item">内容管理</li>
				<li class="breadcrumb-item">订单管理</li>
				<li class="breadcrumb-item active">订单详情查看</li>
			</ol>
		</nav>
		
		<div class="pl-2 pr-2">
			
			<table class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						<th scope="col">#</th>
						<th scope="col">所购商品名</th>
						<th scope="col">商品价格</th>
						<th scope="col">商品图片</th>
						<th scope="col">购买该商品数量</th>
					</tr>
				</thead>

					<tbody id="orderlist">
						<c:forEach items="${page }" var="vo" varStatus="i">
						<tr>
							<th>${i.index+1 }</th>
							<td>${vo.product.mallProductName }</td>
							<td>${vo.product.mallProductPrice1 }￥</td>
							<td><img src="${vo.product.mallProductPath }" style="width:150px" /></td>
							<td>${vo.mallOrderDetailCount }</td>
						</tr>
						</c:forEach>
					</tbody>
			</table>
			<div class="form-group row">
					<div class="col-sm-12 text-center">
						 <button onclick="window.history.back();" type="button" class="btn btn-primary">返回</button>
					</div>
				</div>
		</div>
		
	</section>
</body>
</html>